package com.atguigu.spzx.manager.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SysUserRoleMapper {
    void assignRoles2User(@Param("userId") Long userId,
                          @Param("roleIds")List<Long> roleIds);

    void deleteRolesByUserId(Long userId);
}
